<?php

    include '../Include/Include.php';

    $dbUsuarioDAO = new DBUsuarioDAO();
    $plantillaINFO = new Panel( "../View/InfoUsuario.html" );

    if( $_GET['USR_ID'] != $_SESSION['USR_ID'] ){
        $plantillaINFO->add( "ELIMINAR" , "<a href=\"#\" onclick=\"confirmarEliminarUsuario('{USR_ID}')\">Eliminar |</a>" );
    }

    $plantillaINFO->add( $dbUsuarioDAO->getUsuario( $_GET['USR_ID'] ) );
    $plantillaINFO->show();

?>